<!DOCTYPE html>
<html>
<body>
<div id="live" aria-live="polite">Before</div>
<script>
  function go() {
    var add = document.createElement('p');
    add.innerText = 'After';
    document.getElementById('live').appendChild(add);
  }
</script>
</body>
</html>
